//
//  DXData.h
//  suremodv
//
//  Created by dd on 13-9-19.
//  Copyright (c) 2013年 xiaomuzhi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DXLog.h"

@interface DXData : NSObject
{
    NSString *_token;
    NSMutableDictionary *_user;
    NSMutableDictionary *_param;
    NSMutableDictionary *_data;
}

@property (retain, nonatomic) NSString *token;
@property (retain, nonatomic) NSMutableDictionary *user;
@property (retain, nonatomic) NSMutableDictionary *param;
@property (retain, nonatomic) NSMutableDictionary *data;

+ (id)sharedInstance;
- (NSNumber *)userId;
- (void)restore;
- (void)save;
- (void)empty;

- (NSString *)stringParamForKey:(NSString *)key;
- (NSDictionary *)userDefaultFromAddress;

@end
